package org.example.domain.vo.report.materialStock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.domain.vo.report.ErpReport;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(description = "商品库存视图类")
public class ErpMaterialStockVO extends ErpReport {
    @ApiModelProperty("商品id")
    private Long id;
    @ApiModelProperty("条码")
    private String barCode;
    @ApiModelProperty("名称")
    private String materialName;
    @ApiModelProperty("规格")
    private String specs;
    @ApiModelProperty("型号")
    private String model;
    @ApiModelProperty("颜色")
    private String color;
    @ApiModelProperty("类别")
    private String categoryName;
    @ApiModelProperty("仓位货架")
    private String position;
    @ApiModelProperty("商品单位")
    private String unitName;
    @ApiModelProperty("单价")
    private BigDecimal purchasePrice;
    @ApiModelProperty("库存")
    private BigDecimal currentStock;
    @ApiModelProperty("库存金额")
    private BigDecimal currentStockPrice;
    @ApiModelProperty("重量")
    private BigDecimal currentWeight;
    @ApiModelProperty("最低库存量")
    private BigDecimal initialInventory;
    @ApiModelProperty("建议入库量")
    private BigDecimal inventoryNumber;
}
